﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCMedicalHistory.ascx.cs"
    Inherits="CDOP.UserControls.UcMedicalHistory" %>
<asp:Table ID="tblMedicalHistory" runat="server">
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label2" runat="server" Text="Birth Weight"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:TextBox ID="txtBirthWeight" runat="server">
            </asp:TextBox>
            <asp:CompareValidator ID="cmpDWFloatValidator" ControlToValidate="txtBirthWeight"
                Operator="DataTypeCheck" Type="Double" ErrorMessage="Weight must be a number"
                runat="server" />
        </asp:TableCell></asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label1" runat="server" Text="Multiple Birth"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:DropDownList ID="ddMultipleBirth" runat="server" DataSourceID="ObjectDataSourceMultipleBirth"
                DataTextField="status" DataValueField="id">
            </asp:DropDownList>
            <asp:ObjectDataSource ID="ObjectDataSourceMultipleBirth" runat="server" SelectMethod="GetMultipleBirthDetails"
                TypeName="CDOP.Model.CommonRepository"></asp:ObjectDataSource>
        </asp:TableCell></asp:TableRow>
            <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label9" runat="server" Text="Number of Multiple Births"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:TextBox ID="txtNumberOfMultipleBirths" runat="server">
            </asp:TextBox>
            <asp:CompareValidator ID="CompareValidator1" ControlToValidate="txtNumberOfMultipleBirths"
                Operator="DataTypeCheck" Type="Integer" ErrorMessage="Number of Multiple Births must be a number"
                runat="server" />
        </asp:TableCell></asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label3" runat="server" Text="Were there any medical conditions at the time of death?"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:DropDownList ID="ddMedicalConditionsDeath" runat="server" DataSourceID="ObjectDataSourceMedicalConditionsDeath"
                DataTextField="status" DataValueField="id">
            </asp:DropDownList>
            <asp:ObjectDataSource ID="ObjectDataSourceMedicalConditionsDeath" runat="server"
                SelectMethod="GetMedicalConditionsDeathDetails" TypeName="CDOP.Model.CommonRepository">
            </asp:ObjectDataSource>
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label4" runat="server" Text="If yes detail"></asp:Label>
        </asp:TableCell><asp:TableCell>
            <asp:TextBox ID="txtMedicalConditionsDeathDetails01" runat="server">
            </asp:TextBox></asp:TableCell></asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label5" runat="server" Text="If yes detail"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:TextBox ID="txtMedicalConditionsDeathDetails02" runat="server">
            </asp:TextBox>
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label6" runat="server" Text="Were there any known delays, impairments or disabilities at the time of death?"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:DropDownList ID="ddDelaysImpairmentsDisabilitiesDeath" runat="server" DataSourceID="ObjectDataSourceDelaysImpairmentsDisabilitiesDeath"
                DataTextField="status" DataValueField="id">
            </asp:DropDownList>
            <asp:ObjectDataSource ID="ObjectDataSourceDelaysImpairmentsDisabilitiesDeath" runat="server"
                SelectMethod="GetDelaysImpairmentsDisabilitiesDeathDetails" TypeName="CDOP.Model.CommonRepository">
            </asp:ObjectDataSource>
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label7" runat="server" Text="If yes detail:"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:TextBox ID="txtDelaysImpairmentsDisabilitiesDeath" runat="server">
            </asp:TextBox></asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label8" runat="server" Text="Other Notes"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:TextBox ID="txtOtherNotes" runat="server">
            </asp:TextBox></asp:TableCell>
    </asp:TableRow>
</asp:Table>
